package cn.wolfcode.p2p.base.mapper;

import cn.wolfcode.p2p.base.domain.RealAuth;
import cn.wolfcode.p2p.base.query.RealAuthQueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RealAuthMapper {

    int insert(@Param("ra") RealAuth record, @Param("key") String key);

    RealAuth selectByPrimaryKey(@Param("id") Long id, @Param("key") String key);

    int updateByPrimaryKey(RealAuth record);

    List selectForPage(@Param("qo") RealAuthQueryObject qo, @Param("key") String key);
}